import qingtian from '../images/qingtian.png'
import duoyun from '../images/duoyun.png'
import yintian from '../images/yintian.png'
import xue from '../images/xue.png'

function formateWeatherImg(str){
    switch(str){
        case '晴':
            return qingtian;
        case '多云':
            return duoyun;
        case '阴':
            return yintian;
        case '雨':
            return xue;
        case '雪':
            return xue;
    }
}
